package com.chalk.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.chalk.dao.SysRoleMenuRelatedDao;
import com.chalk.model.SysRoleMenuRelated;
import com.chalk.service.SysRoleMenuRelatedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 平台角色菜单关联信息(SysRoleMenuRelated)表服务实现类
 *
 * @author maxiaoqiang
 * @since 2019-03-22 17:38:25
 */
@Service
public class SysRoleMenuRelatedServiceImpl extends ServiceImpl<SysRoleMenuRelatedDao, SysRoleMenuRelated> implements SysRoleMenuRelatedService {

    @Autowired
    private SysRoleMenuRelatedDao sysRoleMenuRelatedDao;

    /*自定义接口*/

    /**
     * 根据主键批量(逻辑)删除
     *
     * @param ids
     * @return
     */
    @Override
    public int deleteBatchByPrimaryKey(String[] ids) {
        return sysRoleMenuRelatedDao.deleteBatchByPrimaryKey(ids);
    }

    ;
}